﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Tools
{
    /// <summary>
    /// 子服务自身信息
    /// </summary>
    public class SelfDetail
    {
        /// <summary>
        /// Ip地址
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }

        /// <summary>
        /// 任务数量
        /// </summary>
        public long TaskNum { get; set; }

        /// <summary>
        /// Cpu信息
        /// </summary>
        public int CpuInfo { get; set; }

        /// <summary>
        /// 内存信息
        /// </summary>
        public int MemeoryInfo { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }= DateTime.Now;
    }
}
